package cn.sfrog.project.biz.admin.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel(description = "用户分佣记录表单VO")
public class BizUserCommissionFormVO {
    @ApiModelProperty("id")
    private Long id;

    @NotNull
    @ApiModelProperty("用户id")
    private Long userId;

    @NotNull
    @ApiModelProperty("来源【1=充值】")
    private String source;

    @ApiModelProperty("充值表id")
    private Long rechargeId;

    @ApiModelProperty("充值用户id")
    private Long rechargeUserId;

    @ApiModelProperty("充值金额")
    private BigDecimal rechargeAmount;

    @NotNull
    @ApiModelProperty("分佣等级 1=一级（上级） 2=二级（上上级）")
    private Integer commissionLevel;

    @NotNull
    @ApiModelProperty("分佣金额")
    private BigDecimal commissionAmount;

    @ApiModelProperty("备注")
    private String remark;


}
